package com.ado.abyss.core.manager;

import com.ado.abyss.core.dal.model.SysDict;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author adonais
 * @date 2020/7/9
 * @description SysDictManager
 **/
public interface SysDictManager extends IService<SysDict> {

    /**
     *
     * @param label
     * @return
     */
    List<SysDict> findByLabel(String label);

    /**
     *
     * @return
     */
    List<SysDict> findAll() ;

    /**
     *
     * @param list
     * @return
     */
    boolean deleteByIds(List<Long> list);

    /**
     *
     * @param record
     * @return
     */
    boolean saveDict(SysDict record);
}
